added framework.run() + updated examples
updated controller.onRequest()
added utils.trim()
updated comments