remove ini dependence
clean useless code
support for .json and .js file
update changelog for 0.5.2
0.5.2