may changes,
*routing should be working fine
*many structure changes
*added smarty lib