Custom implementation of Clean Coders' Coffee Machine