creates an erlang server system with cowboy