Added implementation of TrainUserModel. Bugs fixed in frokUserModel class and build system.