Added ability to restore NuGet packages so they don't need to be commited to github. Also fixed some compile issues from last commit.