Reorganized code demos and updated bar graph library.