Refactor to use state pattern
Adde Bonjour greeting
Added Mina and hacked the current_base_url insanity