updated models
initial factory class
move utils class
update model. added getters/setters