moved all classes to lib dir, use psr-4 to load classes