Rewrite the whole command system
Write and read using commands
Return a result enum