Move cgMiner code to its own class