added to nuget and tidied up access modifiers