Fixed db def
Added missing submit button
Started hammering out the basic API functions
Updated asd