Optimized and added functionality to BitmapObject

Made static texture buffer and used trasformation matrices for
interaction.
Todo: Comment and switch to final bitmapobject