Split off door gpio communication into separate file