Added Spring security and its rest counterpart and created the user, role and user role domain classes.