Add License file
fix bug by lint.
Refactor file structures.