Add nose
Improve how config is determined
Add imports and generate username
Add testing config
Tests are passing