added move first, refactored all console related functions into new class