Can't access a function inside a class library - C#