feature #1820: Prevents occi-server from no stop when using thin. Remove unused methods
feature #1820: Fix bug when stopping the server. Move configuration & initialization to a separate class