Added single player logic/PCL/Tests