Added many core functions: console, command queue execution, socket command library, data context management