adjust sonata admin

some cleanup to make the route admin reusable by simplecms.