Added Sample Code for querying the Database from Java. Renamed tables to singular