Restructure packages and imports. Fix some bugs (GFX packing check for palette,
chunk 7/8 size array packing). Ignore /out directory from Git.