Revert "Read class for imput from console"

This reverts commit 4b6ba0dc88b416f261cc43dadb3a9f3a5fc30d7f.