changes update handler to use update method instead of findAndModify
changes put to patch
adds edit template
adds styling for list and buttons
moves models, views, and router into separate files