Temp commit to change branches again.
Added most database functionality. Currently untested beyond database/table creation.