added databasehandler, placeholder table. cleaned up the messy
architecture