First go at WebApi implementation