improved eslint config, fixed linter issues, added husky
i am slowly descending to madness bugs fixed, stuff exported, and maybe something else