Moved pin definitions to central file

All pin definitions (which pin is which) are moved to the defs.h file.