fixed relative imports; added some style