get all modules loaded correctly, fix token errors in view templates