- added ruby class defining method;
- refactored file executing;