Move index to main, set default port to 5000