update to latest libs
switch RMR to MVC pattern