Added a cascade for increasing bin granularity as sample size increases
restructured for flask app and python backend for independent component analysis, not all of the plumbing is hooked up