Added WebAPI, Tests, SPA 2

A number of changes added 2.