main with pin aliases

main file now knows aliases for pins