Restructure

This restructuring is needed to provide proper python package project. Please see the diffs for changes. No functional changes should be done, only restructuring related.
There was a bug blocking me from testing imports. I've commented this block of code and forget to uncomment it back. Will fix it