added default style, did some cleanup and minor interface changes