added ignore for IntelliJ files
extended ignore to output files
extracted all classes to thier own file, moved them to a src directory and formatted to favour sun's coding standards (for the most part)
oops, missed the Layer class
made makefile work with bin folder
fixed error when bin already exists