moved model files from lib folder to models folder