fixed almost everything

the only thing that doesn't work right now is the whole seed thing, also i need to refactor!