move files around
add config and fix ugly imports and requires