changed java package to com, added comments
changed package names and added comments