started added code to draw a simple bridge & more refactoring