moving all functions and classes to separate library
moving all functions and classes to separate library