rename controllers to views
fix bug
use create app function to initial app
fix bug: CSRF cause test issue can not pass
use form extension to build form