initial commit
updating to work in my environment and postgres 9.3
updating for 2014b