Add tests and gradle etc.