Added in tile manipulation and decomposition functions, exposed them to users.