Bed management work by Bhamni

@arathyjan @aru I created this pull request so that I can comment on things