Changed database to package

Re-organized database directory as python package