Massacre/refactor logic

* Object support
* Many refactors
* Logic changes (in register, wallet, etc)
* Logic for config
* MasterIp secure
* Policy rewrite
* Added register method (for wallet etc).
* Tons of extra smaller stuff
//