- updated files and directory structure for use with maven.
- small changes to fix unchecked warnings.