move all utility methods to octopush