Split off gpio and LCD code