added the ability to choose the layout file extension

hi:
i have just added a function to change the layout file extension 
set_ext()
plus change the parsing to reflect the ext change 

and changed the version from 1.0 to 1.1