Refactor Database Declarative Classes

ephem/build_master_table.py:
	- Refactored the MasterImages class into database_interface.py. Changed the __init__ method into a load() method and updated the code accordingly. Tested on a live DB and works fine.