Adding machine counts
Adding client interface and replacing prints with log