added reference to core and added nuget restore