initial dart project, server code copy pasted