public Project add(Project project) throws ServerException, SQLException {
	  PreparedStatement stmt = null;
	  Statement keyStmt = null;
	  ResultSet keyRS = null;
	  Project returnProject = null;
	  try {
	    String sql = "INSERT INTO projects (title, records_per_image, first_y_coord, record_height) VALUES(?, ?, ?, ?)";
	    stmt = db.getConnection().prepareStatement(sql);
	    stmt.setString(1, project.getTitle());
	    stmt.setInt(2, project.getRecordsPerImage());
	    stmt.setInt(3, project.getFirstYCoord());
	    stmt.setInt(4, project.getRecordHeight());
	    if (stmt.executeUpdate() == 1) {
	    	keyStmt = db.getConnection().createStatement();
	    	keyRS = keyStmt.executeQuery("SELECT last_insert_rowid()");
	    	keyRS.next();
	    	int projectId = keyRS.getInt(1);
	    	returnProject = new Project(projectId, project.getTitle(), project.getRecordsPerImage(), project.getFirstYCoord(), project.getRecordHeight());
	    } else {
	      System.out.println("Insert user failed");
	    }
	  } catch (SQLException e) {
	    e.printStackTrace();
	  } finally {
	    if (stmt != null) stmt.close();
	    if (keyRS != null) keyRS.close();
	    if (keyStmt != null) keyStmt.close();
	  }
	  return returnProject;
	}