Revert "Func routing"

This reverts commit 1afd3428f4d24c081d4f38458530b8351cfa82ff.
Func routing

Basic func routing