add new views and change the core code

big change to suit the new version
change the coder