apply license MIT to all self written files

Signed-off-by: anti-freak <antifreak2011@gmail.com>