Add documentation to tile layer manager
Format and comment input validation