Added zlib License.
Modularized build structure.
Fixed cutting off half a pixel at the edge of a texture.