Squashed cowboy into one file and fixed content type return