Create platform.py

File for hardware platform detection