Entities functions and constructors added

I hate C# so much