removed "basedir" from the lib project. Removed many static keywords that werent needed.