Cleanup part 1
Cleanup part 2
Cleanup part 3
Cleanup part 4
Cleanup part 5
Cleanup part x
Cleanup part x+1
Implemented polling for buttons