generate bundle and some route