add gradle wrapper, fix dependencies