BitmapMachine built

Static bitmapmachine built, in process of rewriting all classes to use
this.