Finished modeldesign and most of integration.

Signed-off-by: Attila Fodor <attila.fodor.89@gmail.com>