Ported to Virulent Mainboard with pin configuration functions in main function.