Changed DB setup query to allow for composite keys on Goals and Measures. Adapted code to do the same.
Grouped Ajax operations into single file, restructured model and associated DB file to reflect new DB structure.