resolving imports; added formatter class