delineate function sections with comments
move config json into startup section
roughly implemented nick command