Updated to Web API 2 and scriptcs from nuget
made necessary API changes
added logger