moved source files to lib/