refactored into goji server