Moved code to Nuget package