Main method added, transparency, other minor tweaks