removes public and update gitignore