added DB
added alarm base
added alarm-receiver base
merged alarm&algo