started sky + cleaned up some GPU code (thanks staplebutt)