added some goal functionality, please be gentle

well it's a start