refactored repository and added all up-to-date arduino code