closed issue #23 and implemented basic door