adds colouring and cursor control features to console