add url mapping and some views

add url mapping and some views