Big commit

Mario done
Codec Done
Ending done
+ polish