added grailsinterface and replaced mysql functionality with it