TypeScript class library - inspired by .net