Add ScottyM monad variant with error handling
Cleanup and comments