Move auxpow stuff into auxpow class

refactoring