Added coding standards and NetBeans project files; updated code to match standards