Added beacon crud methods
changed db config