Added newway.cpp with basic scheduler and abstract classes