Add basic console api