url routing v2.2

fixed: 1. check if its folder, if not, check if its a function.