Updated all functions for modularization
Fixed bug in wall with door