Open server port by default + some cleaning up. Fixes #1