remove useless java class and update gitignore file