Divide gacco main code
Support multi resources
Add sourceURL on note attributes in gacco