Remove comments and unnecessary states from memory controller