Ipc and settings

pull request with just ipc and settings (required for manipulating cli coloring)