added gitattributes file to exlude files fomr git archive
added phpdoc and updated todos
lazy load mappings