Fix windows-style line endings in the preprocessing step
Implement file uploading
Move form generation to Templates.Utils, and reduce manual HTMl generation in handlers