compile and link restriction map object to components and routes
use restriction map in tiny components