Added threading so that the standalone servers can autoreload if -r is used. Closes #7.