Move the auto_accept and auto_reject logic into masterapi
Add auto_accept and auto_reject files into raetkey