Remove get access data. Add modules class. Add $base->checkModel();
Revert "Remove get access data. Add modules class. Add $base->checkModel();"

This reverts commit f88d73946a88829304afbda7b9836418357285c8.
Revert "Revert "Remove get access data. Add modules class. Add $base->checkModel();""

This reverts commit 3c8c0cb343e0bc3b5a8ded0e625318119caea6be.