Making a basic CRUD app with Flask