adding code from HomePi to Git