Realm pages refactoring
component lib cleanup
more refactoring done