Reworked some backend stuff. Added development database for local testing.