Added flattener to console_scripts and added license to python module