Fixed smoothlife

Added support for user configurable modes and types