changed to Apache License
fix config parameters