Adds rakefile, premise class, and premise tests.