update .classpath and .gitignore to enable eclipse project import
make the Data class more generic to make it compatible with different use cases