Major refactor. Kran can now be instantiated in independent instances
Change in accordance to modified api