renamed lib module, some build script changes