Attachment handling for POST data
Added attachment endpoints to the server.
Added list objects to templates. Fixes #24
Reorganized directory structure