changed layout
updated routing logic, and added additional handlers
add view for editing invoices