Added main Java code for SQLite DB and note edit