removed unused code
Added a Score Display
Fixed foreign key support
Significantly improved score algorithm