+ basic records controller
+ refactoring