267 updates and some additional stuff

Consistency checks now NSL enforced, segmented some code and added some
minor error prevention.
Final rates config
Merge pull request #4 from xToken/dev_267

Dev 267