Bugs and design problems fixed. First functional model.