Remove asset manager and view manager configs
Refactor active record class