Fixup main

Fix some missing semicolons and change update the main server file with some node conventions