added router, view1 and controller part