before refactoring to views
refactored to view, now requires simple http server to run