Cleaned up indexview/chart code and put everything in functions. #24 #22
Merge branch 'master' of https://github.com/OccupOS/OccupOS