Moved temp module declaration to lib