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