Add options for server creation

Fix #25
Fix #78
Fix #82
Fix #83