Added gradle support keeping folder structure

This will aid in making an AAR. Can you verify maven builds OK?