initial commit: basic stat rest service, db scripts and simple static front end.