moves source code to lib directory
update README
update error_page template
add an option "traceError" to turn on/off the error detail
updat README