#76 renaming internal url() method to allow setting url as a flat option
#77 using url option to compile template