Added getCenter method
Got hammer swing to (more or less) work. That took longer than I expected...