rename lib to src. Remove extra unneeded model class for easier implementation.