init, config, and socket io endpoints

closed issues #1, #2, #3, #4