Created asset packing python script.
Fixed issues with depth buffer.
Added preinit and postinit scripts for states.
Map data can contain multiple sprites for each cell.