Function oriented mobile web framework