imports and clean up
testing stuff, needs a lot of fixing