Moved python code into xhab package