Add STDIO data handlers

Refactor ICursesDataHandler -> IDataHandler
Enable selecting STDIO handlers from main