Feature/sdk

Early merge due to 80chr lines and py3 compat.