Refactor, added beds and reactive flow