add DatabaseInterface.java, Database.java and update parserMain and unit test file