Added class for local sql db