- refactored schemes loading code
- fixed path related bug from previous implementation
added specs for testing schemes related functions