happitails homework
added existing client flow
put classes in separate files and added more comments