Moved config stuff to end of Server file so that all functions and other variables are created first.
Updated todo list to mark 28 as done.
Fixed permissions on index.js since exectubale flag not required.