Use the unit value in Metric constructor
Add concept of 'static' metric in database
Use 'static' by saving record only if different
Add Mac OS X '.DS_Store' to gitignore
Refactor adding records to database, clearer and faster