refactoring from nodes to golang -- basic static server