Moved basics_panel funcs to a dedicated file