add concept of currencies
start adding bars to database
more bars logic
fix some database queries