starting to flesh out CRUD for cards using postgres