added geometric convenience functions/classes
further layout tweaks