Okay, now, i accomplished the basic edit function

Because it's only the basic edit function, so, i can do it better later
on. So, if you guys have any ideas, just tell me.