storing conditions still in progress

Sorry for all the commits - I set up the gradstudio on d server to also
use git so whenever I want to test the database stuff now I have to
commit and then pull it on the server.