Remove dependendices that we do no longer seem to require.
mxml is needed
Made service contain a device member and improved function for removing them from devices