updated generate_aa_sequence and some other framework
Merge branch 'changed-generate_aa'