Config and command executor.

Added better config writing.
Added command executor class, no commands :(