Started writing database abstraction, GET and POST /casts is functional