small reorganisation; more error checking
added environment variables on startup for home music directory; refactored out some crap to proper places; still need to update the utils and cli handling