Merge pull request #7 from GilbertApp/seperate-core-class

Seperate core class
Merge pull request #8 from GilbertApp/gilbert-interface

Gilbert interface
added test function