more work on mvc and core lib