Add new header file_ext.h - refactor out frontend_console.h