Move the AOP scheduler to it's own file.