Added paint module and updated documentation.