add MIT license
remove unused variables and functions
Add support for https rates streaming, change default environment to fxpractice
Merge remote-tracking branch 'upstream/master'