Cleaned up code, added comments and formatted files. Renamed some components and fixed layout problem on small screens. Updated README file.