Add process method and refactor a bit directory execute! method