implement relative cimports and fix some general issues with relative imports
use explicit relative imports everywhere and enable absolute imports by default