Add some core classes

You are already using Dart's native rectangle class, so I named the rectangle class PixiRectangle for the moment. I'll leave the rest up to you.