Index: trunk/fmgVen/src/com/fmguler/ven/QueryGenerator.java
===================================================================
--- trunk/fmgVen/src/com/fmguler/ven/QueryGenerator.java	(revision 23)
+++ trunk/fmgVen/src/com/fmguler/ven/QueryGenerator.java	(revision 23)
@@ -0,0 +1,50 @@
+/*
+ *  fmgVen - A Convention over Configuration Java ORM Tool
+ *  Copyright 2010 Fatih Mehmet Güler
+ * 
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ * 
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  under the License.
+ */
+package com.fmguler.ven;
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Generates queries in the form of 'Convention over Configuration' of the specified class.
+ * @author Fatih Mehmet Güler
+ */
+public class QueryGenerator {
+    private Set domainPackages;
+
+    public QueryGenerator() {
+        domainPackages = new HashSet();
+    }
+
+    public String generateSelectQuery() {
+        return null;
+    }
+
+    public String generateCountQuery() {
+        return null;
+    }
+
+    public String generateUpdateQuery() {
+        return null;
+    }
+
+    //SETTERS-------------------------------------------------------------------
+    public void addDomainPackage(String domainPackage) {
+        domainPackages.add(domainPackage);
+    }
+}
Index: trunk/fmgVen/src/com/fmguler/ven/QueryMapper.java
===================================================================
--- trunk/fmgVen/src/com/fmguler/ven/QueryMapper.java	(revision 23)
+++ trunk/fmgVen/src/com/fmguler/ven/QueryMapper.java	(revision 23)
@@ -0,0 +1,44 @@
+/*
+ *  fmgVen - A Convention over Configuration Java ORM Tool
+ *  Copyright 2010 Fatih Mehmet Güler
+ * 
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ * 
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  under the License.
+ */
+package com.fmguler.ven;
+
+import java.util.List;
+import javax.sql.DataSource;
+import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
+
+/**
+ * Maps the result of the query generated in the form of 'Convention over Configuration' to the specified object.
+ * @author Fatih Mehmet Güler
+ */
+public class QueryMapper {
+    private NamedParameterJdbcTemplate template;
+
+    public List list() {
+        return null;
+    }
+
+    //SETTERS-------------------------------------------------------------------
+    public void setDataSource(DataSource dataSource) {
+        if (dataSource == null) throw new RuntimeException("fmgVen - DataSource cannot be null");
+        this.template = new NamedParameterJdbcTemplate(dataSource);
+    }
+
+    public void addDomainPackage(String domainPackage){
+
+    }
+}
Index: trunk/fmgVen/src/com/fmguler/ven/Ven.java
===================================================================
--- trunk/fmgVen/src/com/fmguler/ven/Ven.java	(revision 22)
+++ trunk/fmgVen/src/com/fmguler/ven/Ven.java	(revision 23)
@@ -18,4 +18,8 @@
 package com.fmguler.ven;
 
+import java.util.List;
+import javax.sql.DataSource;
+import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
+
 /**
  * The main class for data access
@@ -23,3 +27,41 @@
  */
 public class Ven {
+    private NamedParameterJdbcTemplate template;
+    private QueryGenerator generator;
+    private QueryMapper mapper;
+
+    public Ven() {
+        generator = new QueryGenerator();
+        mapper = new QueryMapper();
+    }
+
+    public List list() {
+        return null;
+    }
+
+    public int count() {
+        return 0;
+    }
+
+    public Object get(int no, Class objectClass) {
+        return null;
+    }
+
+    public void save(Object object) {
+    }
+
+    public void delete(int no, Class objectClass) {
+    }
+
+    //SETTERS-------------------------------------------------------------------
+    public void setDataSource(DataSource dataSource) {
+        if (dataSource == null) throw new RuntimeException("fmgVen - DataSource cannot be null");
+        this.template = new NamedParameterJdbcTemplate(dataSource);
+    }
+
+    public Ven addDomainPackage(String domainPackage) {
+        generator.addDomainPackage(domainPackage);
+        mapper.addDomainPackage(domainPackage);
+        return this;
+    }
 }
