create java project, add sensor class as a test