small code improvements + gradle intro