implemented simple JSON parser and modified DatabaseHandler class