Towards fix for issue #1 : Refactoring code.
Separated the database access part into a separate module called 'test_data'.
Added init API for DB initialization and getCoordinatesForId to get data based on input ID. Currently this supports only JSON format.