added database functionality to track shots. Each shot creates an entry in the database. The presentation of entries is currently done in ruby. This will be replaced to be done by JSON
shot history implemented with JS and json