More comments in library

- Comments in framework.js
- Fixed stupid handling of f_routes
- Fixed bug that caused app to fail from REPL