Fix/application api

Refactor oonib to use the twisted application framework without monkeypatching.