Added access modifier to both classes, removed the redundant blank lines and added blank lines where necessary