Clean up definitions for MEGA board
Added dependencies to Makefile. Cleaned up .gitignore