diff --git a/config/schema/owlcarousel.schema.yml b/config/schema/owlcarousel.schema.yml
index 7b9d358..3b1fecd 100755
--- a/config/schema/owlcarousel.schema.yml
+++ b/config/schema/owlcarousel.schema.yml
@@ -9,3 +9,152 @@ owlcarousel.preset.*:
     label:
       type: label
       label: 'Label'
+    items:
+      type: number
+      label: 'Items'
+    margin:
+      type: number
+      label: 'Margin'
+    loop:
+      type: boolean
+      label: 'Loop'
+    center:
+      type: checkbox
+      label: 'Center'
+    mouse_drag:
+      type: checkbox
+      label: 'Mouse Drag'
+    #touch_drag:
+      type: checkbox
+      label: '#touch Drag'
+    pull_drag:
+      type: checkbox
+      label: 'Pull Drag'
+    free_drag:
+      type: checkbox
+      label: 'Free Drag'
+    stage_padding:
+      type: number
+      label: 'Stage Padding'
+    merge:
+      type: checkbox
+      label: 'Merge'
+    merge_fit:
+      type: checkbox
+      label: 'Merge Fit'
+    auto_width:
+      type: checkbox
+      label: 'Auto Width'
+    start_position:
+      type: number
+      label: 'Start Position'
+    url_hash_listener:
+      type: checkbox
+      label: 'URL Hash Listener'
+    nav:
+      type: checkbox
+      label: 'Navigation'
+    nav_rewind:
+      type:
+      label: 'Nav Rewind'
+    nav_prev:
+      type: string
+      label: 'Navigation text for prev'
+      translatable: true
+    nav_next:
+      type: string
+      label: 'Navigation text for text'
+      translatable: true
+    slide_by:
+      type: number
+      label: 'Slide By'
+    dots:
+      type: checkbox
+      label: 'Dots'
+    dots_each:
+      type: number
+      label: 'Dots Each'
+    dot_data:
+      type: checkbox
+      label: 'Dot Data'
+    lazy_load:
+      type: checkbox
+      label: 'Lazy Load'
+    lazy_content:
+      type: checkbox
+      label: 'Lazy Content'
+    autoplay:
+      type: checkbox
+      label: 'Autoplay'
+    autoplay_timeout:
+      type: number
+      label: 'Autoplay Timeout'
+    autoplay_hover_pause:
+      type: checkbox
+      label: 'Autoplay Hover Pause'
+    smart_speed:
+      type: number
+      label: 'Smart Speed'
+    fluid_speed:
+      type: number
+      label: 'Fluid Speed'
+    autoplay_speed:
+      type: number
+      label: 'Autoplay Speed'
+    nav_speed:
+      type: number
+      label: 'Navigation Speed'
+    dots_speed:
+      type: number
+      label: 'Dots Speed'
+    drag_end_speed:
+      type: number
+      label: 'Drag End Speed'
+    callbacks:
+      type: checkbox
+      label: 'Callbacks'
+    responsive_refresh_rate:
+      type: number
+      label: 'Responsive Refresh Rate'
+    responsive_base_element:
+      type: string
+      label: 'Responsive Base Element'
+    responsive_class:
+      type: checkbox
+      label: 'Responsive Class'
+    video:
+      type: checkbox
+      label: 'Video'
+    video_height:
+      type: checkbox
+      label: 'Video Height'
+    video_width:
+      type: checkbox
+      label: 'Video Width'
+    animate_out:
+      type: string
+      label: 'Animate Out'
+    animate_in:
+      type: string
+      label: 'Animate In'
+    fallback_easing:
+      type: string
+      label: 'Fallback Easing'
+    info:
+      type: string
+      label: 'Info'
+    nested_item_selector:
+      type: string
+      label: 'Nested Item Selector'
+    item_element:
+      type: string
+      label: 'Item Element'
+    stage_element:
+      type: string
+      label: 'Stage Element'
+    nav_container:
+      type: string
+      label: 'Navigation Container'
+    dots_container:
+      type: string
+      label: 'Pagination Container'
diff --git a/owlcarousel.module b/owlcarousel.module
index cd1016b..0d02ede 100644
--- a/owlcarousel.module
+++ b/owlcarousel.module
@@ -1,9 +1,11 @@
 <?php
 
+use Drupal\Core\Template\Attribute;
+
 /**
  * @file
  *
- *@todo file docs
+ * @todo file docs
 */
 
 /**
@@ -17,3 +19,34 @@ function owlcarousel_permission() {
     ),
   );
 }
+
+/**
+ * Prepares variables for owl carousel rows templates.
+ *
+ * Default template: views-owl-carousel.html.twig.
+ *
+ * @param array $variables
+ *   An associative array containing:
+ *   - view: The view object.
+ *   - rows: An array of row items. Each row is an array of content.
+ */
+function template_preprocess_views_owl_carousel(&$variables) {
+  $view = $variables['view'];
+  $rows = $variables['rows'];
+  $style = $view->style_plugin;
+  $options = $style->options;
+
+  $default_row_class = isset($options['default_row_class']) ? $options['default_row_class'] : FALSE;
+  foreach ($rows as $id => $row) {
+    $variables['rows'][$id] = array();
+    $variables['rows'][$id]['content'] = $row;
+    $variables['rows'][$id]['attributes'] = array();
+    if ($default_row_class) {
+      $variables['rows'][$id]['attributes']['class'][] = 'views-row';
+    }
+    if ($row_class = $view->style_plugin->getRowClass($id)) {
+      $variables['rows'][$id]['attributes']['class'][] = $row_class;
+    }
+    $variables['rows'][$id]['attributes'] = new Attribute($variables['rows'][$id]['attributes']);
+  }
+}
diff --git a/src/Entity/OwlCarouselPreset.php b/src/Entity/OwlCarouselPreset.php
index 997acff..de573ee 100755
--- a/src/Entity/OwlCarouselPreset.php
+++ b/src/Entity/OwlCarouselPreset.php
@@ -9,18 +9,8 @@
 
 namespace Drupal\owlcarousel\Entity;
 
-// use Drupal\Core\Cache\Cache;
 use Drupal\Core\Config\Entity\ConfigEntityBase;
-// use Drupal\Core\Entity\EntityStorageInterface;
-// use Drupal\Core\Entity\EntityWithPluginBagsInterface;
-// use Drupal\Core\Routing\RequestHelper;
-use Drupal\Core\Site\Settings;
-// use Drupal\image\ImageEffectBag;
-// use Drupal\image\ImageEffectInterface;
 use Drupal\owlcarousel\OwlCarouselPresetInterface;
-// use Drupal\Component\Utility\Crypt;
-// use Drupal\Component\Utility\UrlHelper;
-// use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
 
 /**
  * Defines an Owl Carousel preset configuration entity.
@@ -34,7 +24,7 @@ use Drupal\owlcarousel\OwlCarouselPresetInterface;
  *       "edit" = "Drupal\owlcarousel\Form\OwlCarouselPresetEditForm",
  *       "delete" = "Drupal\owlcarousel\Form\OwlCarouselPresetDeleteForm",
  *     },
- *     "list_builder" = "Drupal\Core\Config\Entity\ConfigEntityListBuilder",
+ *     "list_builder" = "Drupal\owlcarousel\OwlCarouselPresetListBuilder",
  *   },
  *   admin_permission = "administer owl carousel presets",
  *   config_prefix = "preset",
@@ -48,7 +38,7 @@ use Drupal\owlcarousel\OwlCarouselPresetInterface;
  *   }
  * )
  */
-class OwlCarouselPreset extends ConfigEntityBase implements OwlCarouselPresetInterface/*, EntityWithPluginBagsInterface*/ {
+class OwlCarouselPreset extends ConfigEntityBase implements OwlCarouselPresetInterface {
 
   /**
    * The Owl Carousel preset label.
@@ -81,205 +71,9 @@ class OwlCarouselPreset extends ConfigEntityBase implements OwlCarouselPresetInt
   /**
    * {@inheritdoc}
    */
-  /*public function postSave(EntityStorageInterface $storage, $update = TRUE) {
-    parent::postSave($storage, $update);
-
-    if ($update) {
-      if (!empty($this->original) && $this->id() !== $this->original->id()) {
-        // The old image style name needs flushing after a rename.
-        $this->original->flush();
-        // Update field instance settings if necessary.
-        if (!$this->isSyncing()) {
-          static::replaceImageStyle($this);
-        }
-      }
-      else {
-        // Flush image style when updating without changing the name.
-        $this->flush();
-      }
-    }
-  }*/
-
-  /**
-   * {@inheritdoc}
-   */
-  /*public static function postDelete(EntityStorageInterface $storage, array $entities) {
-    parent::postDelete($storage, $entities);
-
-    foreach ($entities as $style) {
-      // Flush cached media for the deleted style.
-      $style->flush();
-      // Check whether field instance settings need to be updated.
-      // In case no replacement style was specified, all image fields that are
-      // using the deleted style are left in a broken state.
-      if (!$style->isSyncing() && $new_id = $style->getReplacementID()) {
-        // The deleted ID is still set as originalID.
-        $style->setName($new_id);
-        static::replaceImageStyle($style);
-      }
-    }
-  }*/
-
-  /**
-   * Update field instance settings if the image style name is changed.
-   *
-   * @param \Drupal\image\ImageStyleInterface $style
-   *   The image style.
-   */
-  /*protected static function replaceImageStyle(ImageStyleInterface $style) {
-    if ($style->id() != $style->getOriginalId()) {
-      // Loop through all entity displays looking for formatters / widgets using
-      // the image style.
-      foreach (entity_load_multiple('entity_view_display') as $display) {
-        foreach ($display->getComponents() as $name => $options) {
-          if (isset($options['type']) && $options['type'] == 'image' && $options['settings']['image_style'] == $style->getOriginalId()) {
-            $options['settings']['image_style'] = $style->id();
-            $display->setComponent($name, $options)
-              ->save();
-          }
-        }
-      }
-      foreach (entity_load_multiple('entity_form_display') as $display) {
-        foreach ($display->getComponents() as $name => $options) {
-          if (isset($options['type']) && $options['type'] == 'image_image' && $options['settings']['preview_image_style'] == $style->getOriginalId()) {
-            $options['settings']['preview_image_style'] = $style->id();
-            $display->setComponent($name, $options)
-              ->save();
-          }
-        }
-      }
-    }
-  }*/
-
-  /**
-   * {@inheritdoc}
-   */
-  /*public function buildUri($uri) {
-    $scheme = file_uri_scheme($uri);
-    if ($scheme) {
-      $path = file_uri_target($uri);
-    }
-    else {
-      $path = $uri;
-      $scheme = file_default_scheme();
-    }
-    return $scheme . '://styles/' . $this->id() . '/' . $scheme . '/' . $path;
-  }*/
-
-  /**
-   * {@inheritdoc}
-   */
-  /*public function buildUrl($path, $clean_urls = NULL) {
-    $uri = $this->buildUri($path);
-    // The token query is added even if the
-    // 'image.settings:allow_insecure_derivatives' configuration is TRUE, so
-    // that the emitted links remain valid if it is changed back to the default
-    // FALSE. However, sites which need to prevent the token query from being
-    // emitted at all can additionally set the
-    // 'image.settings:suppress_itok_output' configuration to TRUE to achieve
-    // that (if both are set, the security token will neither be emitted in the
-    // image derivative URL nor checked for in
-    // \Drupal\image\ImageStyleInterface::deliver()).
-    $token_query = array();
-    if (!\Drupal::config('image.settings')->get('suppress_itok_output')) {
-      // The passed $path variable can be either a relative path or a full URI.
-      $original_uri = file_uri_scheme($path) ? file_stream_wrapper_uri_normalize($path) : file_build_uri($path);
-      $token_query = array(IMAGE_DERIVATIVE_TOKEN => $this->getPathToken($original_uri));
-    }
-
-    if ($clean_urls === NULL) {
-      // Assume clean URLs unless the request tells us otherwise.
-      $clean_urls = TRUE;
-      try {
-        $request = \Drupal::request();
-        $clean_urls = RequestHelper::isCleanUrl($request);
-      }
-      catch (ServiceNotFoundException $e) {
-      }
-    }
-
-    // If not using clean URLs, the image derivative callback is only available
-    // with the script path. If the file does not exist, use url() to ensure
-    // that it is included. Once the file exists it's fine to fall back to the
-    // actual file path, this avoids bootstrapping PHP once the files are built.
-    if ($clean_urls === FALSE && file_uri_scheme($uri) == 'public' && !file_exists($uri)) {
-      $directory_path = file_stream_wrapper_get_instance_by_uri($uri)->getDirectoryPath();
-      return url($directory_path . '/' . file_uri_target($uri), array('absolute' => TRUE, 'query' => $token_query));
-    }
-
-    $file_url = file_create_url($uri);
-    // Append the query string with the token, if necessary.
-    if ($token_query) {
-      $file_url .= (strpos($file_url, '?') !== FALSE ? '&' : '?') . UrlHelper::buildQuery($token_query);
-    }
-
-    return $file_url;
-  }*/
-
-  /**
-   * {@inheritdoc}
-   */
-  /*public function flush($path = NULL) {
-    // A specific image path has been provided. Flush only that derivative.
-    if (isset($path)) {
-      $derivative_uri = $this->buildUri($path);
-      if (file_exists($derivative_uri)) {
-        file_unmanaged_delete($derivative_uri);
-      }
-      return $this;
-    }
-
-    // Delete the style directory in each registered wrapper.
-    $wrappers = file_get_stream_wrappers(STREAM_WRAPPERS_WRITE_VISIBLE);
-    foreach ($wrappers as $wrapper => $wrapper_data) {
-      if (file_exists($directory = $wrapper . '://styles/' . $this->id())) {
-        file_unmanaged_delete_recursive($directory);
-      }
-    }
-
-    // Let other modules update as necessary on flush.
-    $module_handler = \Drupal::moduleHandler();
-    $module_handler->invokeAll('image_style_flush', array($this));
-
-    // Clear caches so that formatters may be added for this style.
-    drupal_theme_rebuild();
-
-    Cache::invalidateTags($this->getCacheTag());
-
-    return $this;
-  }*/
-
-  /**
-   * {@inheritdoc}
-   */
-  /*public function createDerivative($original_uri, $derivative_uri) {
-    // Get the folder for the final location of this style.
-    $directory = drupal_dirname($derivative_uri);
-
-    // Build the destination folder tree if it doesn't already exist.
-    if (!file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS)) {
-      watchdog('image', 'Failed to create style directory: %directory', array('%directory' => $directory), WATCHDOG_ERROR);
-      return FALSE;
-    }
-
-    $image = \Drupal::service('image.factory')->get($original_uri);
-    if (!$image->isValid()) {
-      return FALSE;
-    }
-
-    foreach ($this->getEffects() as $effect) {
-      $effect->applyEffect($image);
-    }
-
-    if (!$image->save($derivative_uri)) {
-      if (file_exists($derivative_uri)) {
-        watchdog('image', 'Cached image file %destination already exists. There may be an issue with your rewrite configuration.', array('%destination' => $derivative_uri), WATCHDOG_ERROR);
-      }
-      return FALSE;
-    }
-
-    return TRUE;
-  }*/
+  public function getLabel() {
+    return $this->get('label');
+  }
 
   /**
    * {@inheritdoc}
diff --git a/src/Form/OwlCarouselPresetAddForm.php b/src/Form/OwlCarouselPresetAddForm.php
index 4e7ac6e..671e37f 100755
--- a/src/Form/OwlCarouselPresetAddForm.php
+++ b/src/Form/OwlCarouselPresetAddForm.php
@@ -6,6 +6,7 @@
  */
 
 namespace Drupal\owlcarousel\Form;
+use Drupal\Core\Form\FormStateInterface;
 
 /**
  * Controller for Owl Carousel preset addition forms.
@@ -15,7 +16,7 @@ class OwlCarouselPresetAddForm extends OwlCarouselPresetFormBase {
   /**
    * {@inheritdoc}
    */
-  public function save(array $form, array &$form_state) {
+  public function save(array $form, FormStateInterface $form_state) {
     parent::save($form, $form_state);
     drupal_set_message($this->t('Preset %name was created.', array('%name' => $this->entity->label())));
   }
@@ -23,7 +24,7 @@ class OwlCarouselPresetAddForm extends OwlCarouselPresetFormBase {
   /**
    * {@inheritdoc}
    */
-  public function actions(array $form, array &$form_state) {
+  public function actions(array $form, FormStateInterface $form_state) {
     $actions = parent::actions($form, $form_state);
     $actions['submit']['#value'] = $this->t('Create new preset');
 
diff --git a/src/Form/OwlCarouselPresetDeleteForm.php b/src/Form/OwlCarouselPresetDeleteForm.php
index 177bf06..0bf1703 100755
--- a/src/Form/OwlCarouselPresetDeleteForm.php
+++ b/src/Form/OwlCarouselPresetDeleteForm.php
@@ -8,6 +8,7 @@
 namespace Drupal\owlcarousel\Form;
 
 use Drupal\Core\Entity\EntityConfirmFormBase;
+use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Url;
 
 /**
@@ -46,7 +47,7 @@ class OwlCarouselPresetDeleteForm extends EntityConfirmFormBase {
   /**
    * {@inheritdoc}
    */
-  public function form(array $form, array &$form_state) {
+  public function form(array $form, FormStateInterface $form_state) {
     // @todo Preset: 'Delete' form
     /*
     $replacement_styles = array_diff_key(image_style_options(), array($this->entity->id() => ''));
@@ -63,7 +64,7 @@ class OwlCarouselPresetDeleteForm extends EntityConfirmFormBase {
   /**
    * {@inheritdoc}
    */
-  public function submit(array $form, array &$form_state) {
+  public function submit(array $form, FormStateInterface $form_state) {
     $this->entity->set('replacementID', $form_state['values']['replacement']);
     $this->entity->delete();
     drupal_set_message($this->t('Preset %name was deleted.', array('%name' => $this->entity->label())));
diff --git a/src/Form/OwlCarouselPresetEditForm.php b/src/Form/OwlCarouselPresetEditForm.php
index 53bf157..83d86c2 100755
--- a/src/Form/OwlCarouselPresetEditForm.php
+++ b/src/Form/OwlCarouselPresetEditForm.php
@@ -11,8 +11,8 @@ namespace Drupal\owlcarousel\Form;
 
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\Core\Entity\EntityStorageInterface;
+use Drupal\Core\Form\FormStateInterface;
 use Drupal\image\ConfigurableImageEffectInterface;
-use Drupal\image\ImageEffectManager;
 use Drupal\Component\Utility\String;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
@@ -20,25 +20,17 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
  * Controller for image style edit form.
  */
 class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
-
   /**
-   * The image effect manager service.
-   *
-   * @var \Drupal\image\ImageEffectManager
+   * @var EntityStorageInterface
    */
-  protected $imageEffectManager;
+  private $owl_carouse_preset;
 
   /**
    * Constructs an ImageStyleEditForm object.
-   *
-   * @param \Drupal\Core\Entity\EntityStorageInterface $image_style_storage
-   *   The storage.
-   * @param \Drupal\image\ImageEffectManager $image_effect_manager
-   *   The image effect manager service.
    */
-  public function __construct(EntityStorageInterface $image_style_storage, ImageEffectManager $image_effect_manager) {
-    parent::__construct($image_style_storage);
-    $this->imageEffectManager = $image_effect_manager;
+  public function __construct(EntityStorageInterface $owl_carouse_preset) {
+    parent::__construct($owl_carouse_preset);
+    $this->owl_carouse_preset = $owl_carouse_preset;
   }
 
   /**
@@ -46,110 +38,109 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
    */
   public static function create(ContainerInterface $container) {
     return new static(
-      $container->get('entity.manager')->getStorage('image_style'),
-      $container->get('plugin.manager.image.effect')
+      $container->get('entity.manager')->getStorage('owlcarousel_preset')
     );
   }
 
   /**
    * {@inheritdoc}
    */
-  public function form(array $form, array &$form_state) {
-    $form['#title'] = $this->t('Edit style %name', array('%name' => $this->entity->label()));
-    $form['#tree'] = TRUE;
-    $form['#attached']['css'][drupal_get_path('module', 'image') . '/css/image.admin.css'] = array();
-
-    // Show the thumbnail preview.
-    $preview_arguments = array('#theme' => 'image_style_preview', '#style' => $this->entity);
-    $form['preview'] = array(
-      '#type' => 'item',
-      '#title' => $this->t('Preview'),
-      '#markup' => drupal_render($preview_arguments),
-      // Render preview above parent elements.
-      '#weight' => -5,
-    );
-
-    // Build the list of existing image effects for this image style.
-    $form['effects'] = array(
-      '#theme' => 'image_style_effects',
-      // Render effects below parent elements.
-      '#weight' => 5,
-    );
-    foreach ($this->entity->getEffects() as $effect) {
-      $key = $effect->getUuid();
-      $form['effects'][$key]['#weight'] = isset($form_state['input']['effects']) ? $form_state['input']['effects'][$key]['weight'] : NULL;
-      $form['effects'][$key]['label'] = array(
-        '#markup' => String::checkPlain($effect->label()),
-      );
-      $form['effects'][$key]['summary'] = $effect->getSummary();
-      $form['effects'][$key]['weight'] = array(
-        '#type' => 'weight',
-        '#title' => $this->t('Weight for @title', array('@title' => $effect->label())),
-        '#title_display' => 'invisible',
-        '#default_value' => $effect->getWeight(),
-      );
-
-      $links = array();
-      $is_configurable = $effect instanceof ConfigurableImageEffectInterface;
-      if ($is_configurable) {
-        $links['edit'] = array(
-          'title' => $this->t('Edit'),
-          'href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key,
-        );
-      }
-      $links['delete'] = array(
-        'title' => $this->t('Delete'),
-        'href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key . '/delete',
-      );
-      $form['effects'][$key]['operations'] = array(
-        '#type' => 'operations',
-        '#links' => $links,
-      );
-      $form['effects'][$key]['configure'] = array(
-        '#type' => 'link',
-        '#title' => $this->t('Edit'),
-        '#href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key,
-        '#access' => $is_configurable,
-      );
-      $form['effects'][$key]['remove'] = array(
-        '#type' => 'link',
-        '#title' => $this->t('Delete'),
-        '#href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key . '/delete',
-      );
-    }
-
-    // Build the new image effect addition form and add it to the effect list.
-    $new_effect_options = array();
-    $effects = $this->imageEffectManager->getDefinitions();
-    uasort($effects, function ($a, $b) {
-      return strcasecmp($a['id'], $b['id']);
-    });
-    foreach ($effects as $effect => $definition) {
-      $new_effect_options[$effect] = $definition['label'];
-    }
-    $form['effects']['new'] = array(
-      '#tree' => FALSE,
-      '#weight' => isset($form_state['input']['weight']) ? $form_state['input']['weight'] : NULL,
-    );
-    $form['effects']['new']['new'] = array(
-      '#type' => 'select',
-      '#title' => $this->t('Effect'),
-      '#title_display' => 'invisible',
-      '#options' => $new_effect_options,
-      '#empty_option' => $this->t('Select a new effect'),
-    );
-    $form['effects']['new']['weight'] = array(
-      '#type' => 'weight',
-      '#title' => $this->t('Weight for new effect'),
-      '#title_display' => 'invisible',
-      '#default_value' => count($form['effects']) - 1,
-    );
-    $form['effects']['new']['add'] = array(
-      '#type' => 'submit',
-      '#value' => $this->t('Add'),
-      '#validate' => array(array($this, 'effectValidate')),
-      '#submit' => array(array($this, 'effectSave')),
-    );
+  public function form(array $form, FormStateInterface $form_state) {
+//    $form['#title'] = $this->t('Edit style %name', array('%name' => $this->entity->label()));
+//    $form['#tree'] = TRUE;
+//    $form['#attached']['css'][drupal_get_path('module', 'image') . '/css/image.admin.css'] = array();
+//
+//    // Show the thumbnail preview.
+//    $preview_arguments = array('#theme' => 'image_style_preview', '#style' => $this->entity);
+//    $form['preview'] = array(
+//      '#type' => 'item',
+//      '#title' => $this->t('Preview'),
+//      '#markup' => drupal_render($preview_arguments),
+//      // Render preview above parent elements.
+//      '#weight' => -5,
+//    );
+//
+//    // Build the list of existing image effects for this image style.
+//    $form['effects'] = array(
+//      '#theme' => 'image_style_effects',
+//      // Render effects below parent elements.
+//      '#weight' => 5,
+//    );
+//    foreach ($this->entity->getEffects() as $effect) {
+//      $key = $effect->getUuid();
+//      $form['effects'][$key]['#weight'] = isset($form_state['input']['effects']) ? $form_state['input']['effects'][$key]['weight'] : NULL;
+//      $form['effects'][$key]['label'] = array(
+//        '#markup' => String::checkPlain($effect->label()),
+//      );
+//      $form['effects'][$key]['summary'] = $effect->getSummary();
+//      $form['effects'][$key]['weight'] = array(
+//        '#type' => 'weight',
+//        '#title' => $this->t('Weight for @title', array('@title' => $effect->label())),
+//        '#title_display' => 'invisible',
+//        '#default_value' => $effect->getWeight(),
+//      );
+//
+//      $links = array();
+//      $is_configurable = $effect instanceof ConfigurableImageEffectInterface;
+//      if ($is_configurable) {
+//        $links['edit'] = array(
+//          'title' => $this->t('Edit'),
+//          'href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key,
+//        );
+//      }
+//      $links['delete'] = array(
+//        'title' => $this->t('Delete'),
+//        'href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key . '/delete',
+//      );
+//      $form['effects'][$key]['operations'] = array(
+//        '#type' => 'operations',
+//        '#links' => $links,
+//      );
+//      $form['effects'][$key]['configure'] = array(
+//        '#type' => 'link',
+//        '#title' => $this->t('Edit'),
+//        '#href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key,
+//        '#access' => $is_configurable,
+//      );
+//      $form['effects'][$key]['remove'] = array(
+//        '#type' => 'link',
+//        '#title' => $this->t('Delete'),
+//        '#href' => 'admin/config/media/image-styles/manage/' . $this->entity->id() . '/effects/' . $key . '/delete',
+//      );
+//    }
+//
+//    // Build the new image effect addition form and add it to the effect list.
+//    $new_effect_options = array();
+//    $effects = $this->imageEffectManager->getDefinitions();
+//    uasort($effects, function ($a, $b) {
+//      return strcasecmp($a['id'], $b['id']);
+//    });
+//    foreach ($effects as $effect => $definition) {
+//      $new_effect_options[$effect] = $definition['label'];
+//    }
+//    $form['effects']['new'] = array(
+//      '#tree' => FALSE,
+//      '#weight' => isset($form_state['input']['weight']) ? $form_state['input']['weight'] : NULL,
+//    );
+//    $form['effects']['new']['new'] = array(
+//      '#type' => 'select',
+//      '#title' => $this->t('Effect'),
+//      '#title_display' => 'invisible',
+//      '#options' => $new_effect_options,
+//      '#empty_option' => $this->t('Select a new effect'),
+//    );
+//    $form['effects']['new']['weight'] = array(
+//      '#type' => 'weight',
+//      '#title' => $this->t('Weight for new effect'),
+//      '#title_display' => 'invisible',
+//      '#default_value' => count($form['effects']) - 1,
+//    );
+//    $form['effects']['new']['add'] = array(
+//      '#type' => 'submit',
+//      '#value' => $this->t('Add'),
+//      '#validate' => array(array($this, 'effectValidate')),
+//      '#submit' => array(array($this, 'effectSave')),
+//    );
 
     return parent::form($form, $form_state);
   }
@@ -157,7 +148,7 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
   /**
    * Validate handler for image effect.
    */
-  public function effectValidate($form, &$form_state) {
+  public function effectValidate(array $form, FormStateInterface $form_state) {
     if (!$form_state['values']['new']) {
       $this->setFormError('new', $form_state, $this->t('Select an effect to add.'));
     }
@@ -166,7 +157,7 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
   /**
    * Submit handler for image effect.
    */
-  public function effectSave($form, &$form_state) {
+  public function effectSave(array $form, FormStateInterface $form_state) {
 
     // Update image effect weights.
     if (!empty($form_state['values']['effects'])) {
@@ -216,7 +207,7 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
   /**
    * {@inheritdoc}
    */
-  public function save(array $form, array &$form_state) {
+  public function save(array $form, FormStateInterface $form_state) {
 
     // Update image effect weights.
     if (!empty($form_state['values']['effects'])) {
@@ -230,7 +221,7 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
   /**
    * {@inheritdoc}
    */
-  public function actions(array $form, array &$form_state) {
+  public function actions(array $form, FormStateInterface $form_state) {
     $actions = parent::actions($form, $form_state);
     $actions['submit']['#value'] = $this->t('Update style');
 
@@ -255,7 +246,7 @@ class OwlCarouselPresetEditForm extends OwlCarouselPresetFormBase {
   /**
    * {@inheritdoc}
    */
-  protected function copyFormValuesToEntity(EntityInterface $entity, array $form, array &$form_state) {
+  protected function copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) {
     foreach ($form_state['values'] as $key => $value) {
       // Do not copy effects here, see self::updateEffectWeights().
       if ($key != 'effects') {
diff --git a/src/Form/OwlCarouselPresetFormBase.php b/src/Form/OwlCarouselPresetFormBase.php
index 3441229..cb11725 100755
--- a/src/Form/OwlCarouselPresetFormBase.php
+++ b/src/Form/OwlCarouselPresetFormBase.php
@@ -11,6 +11,7 @@ namespace Drupal\owlcarousel\Form;
 
 use Drupal\Core\Entity\EntityForm;
 use Drupal\Core\Entity\EntityStorageInterface;
+use Drupal\Core\Form\FormStateInterface;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
@@ -30,16 +31,16 @@ abstract class OwlCarouselPresetFormBase extends EntityForm {
    *
    * @var \Drupal\Core\Entity\EntityStorageInterface
    */
-  protected $imageStyleStorage;
+  protected $owlCarouselStorage;
 
   /**
    * Constructs a base class for image style add and edit forms.
    *
-   * @param \Drupal\Core\Entity\EntityStorageInterface $image_style_storage
-   *   The image style entity storage.
+   * @param \Drupal\Core\Entity\EntityStorageInterface $owlcarousel_preset_storage
+   *   The owlcarousel_preset_storage entity storage.
    */
-  public function __construct(EntityStorageInterface $image_style_storage) {
-    $this->imageStyleStorage = $image_style_storage;
+  public function __construct(EntityStorageInterface $owlcarousel_preset_storage) {
+    $this->owlCarouselStorage = $owlcarousel_preset_storage;
   }
 
   /**
@@ -47,37 +48,353 @@ abstract class OwlCarouselPresetFormBase extends EntityForm {
    */
   public static function create(ContainerInterface $container) {
     return new static(
-      $container->get('entity.manager')->getStorage('image_style')
+      $container->get('entity.manager')->getStorage('owlcarousel_preset')
     );
   }
 
   /**
    * {@inheritdoc}
    */
-  public function form(array $form, array &$form_state) {
+  public function form(array $form, FormStateInterface $form_state) {
 
     $form['label'] = array(
       '#type' => 'textfield',
-      '#title' => $this->t('Image style name'),
+      '#title' => $this->t('Preset name'),
       '#default_value' => $this->entity->label(),
       '#required' => TRUE,
     );
     $form['name'] = array(
       '#type' => 'machine_name',
       '#machine_name' => array(
-        'exists' => array($this->imageStyleStorage, 'load'),
+        'exists' => array($this->owlCarouselStorage, 'load'),
       ),
       '#default_value' => $this->entity->id(),
       '#required' => TRUE,
     );
 
+    $form['items'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Items'),
+      '#description' => $this->t('The number of items you want to see on the screen.'),
+      '#default_value' => 3,
+    );
+    $form['margin'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Margin'),
+      '#description' => $this->t('Margin-right(px) on item.'),
+      '#default_value' => 0,
+    );
+    $form['loop'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Loop'),
+      '#description' => $this->t('Inifnity loop. Duplicate last and first items to get loop illusion.'),
+      '#default_value' => FALSE,
+    );
+
+
+    $form['center'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Center'),
+      '#description' => $this->t('Center item. Works well with even an odd number of items.'),
+      '#default_value' => FALSE,
+    );
+    $form['mouse_drag'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Mouse Drag'),
+      '#description' => $this->t('Mouse drag enabled.'),
+      '#default_value' => TRUE,
+    );
+    $form['#touch_drag'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('#touch Drag'),
+      '#description' => $this->t('#touch drag enabled.'),
+      '#default_value' => TRUE,
+    );
+    $form['pull_drag'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Pull Drag'),
+      '#description' => $this->t('Stage pull to edge.'),
+      '#default_value' => TRUE,
+    );
+    $form['free_drag'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Free Drag'),
+      '#description' => $this->t('Item pull to edge.'),
+      '#default_value' => FALSE,
+    );
+    $form['stage_padding'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Stage Padding'),
+      '#description' => $this->t('Padding left and right on stage (can see neighbours).'),
+      '#default_value' => 0,
+    );
+    $form['merge'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Merge'),
+      '#description' => $this->t('Merge items. Looking for data-merge={number} inside item.'),
+      '#default_value' => FALSE,
+    );
+    $form['merge_fit'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Merge Fit'),
+      '#description' => $this->t('Fit merged items if screen is smaller than items value.'),
+      '#default_value' => TRUE,
+    );
+    $form['auto_width'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Auto Width'),
+      '#description' => $this->t('Set non grid content. Try using width style on divs.'),
+      '#default_value' => FALSE,
+    );
+    $form['start_position'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Start Position'),
+      '#description' => $this->t('Start position or URL Hash textfield like #id.'),
+      '#default_value' => 0,
+    );
+    $form['url_hash_listener'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('URL Hash Listener'),
+      '#description' => $this->t('Listen to url hash changes. data-hash on items is required.'),
+      '#default_value' => FALSE,
+    );
+    $form['nav'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Navigation'),
+      '#description' => $this->t('Show next/prev buttons.'),
+      '#default_value' => FALSE,
+    );
+    $form['nav_rewind'] = array(
+      
+      '#title' => $this->t('Nav Rewind'),
+      '#description' => $this->t('Go to first/last.'),
+      '#default_value' => TRUE,
+    );
+    $form['nav_prev'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Navigation text form prev'),
+      '#description' => $this->t('Cusomize your own text for navigation.'),
+      '#default_value' => $this->t('prev'),
+    );
+    $form['nav_next'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Navigation text for next'),
+      '#description' => $this->t('Cusomize your own text for navigation.'),
+      '#default_value' => $this->t('next'),
+    );
+    $form['slide_by'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Slide By'),
+      '#description' => $this->t('Navigation slide by x. page textfield can be set to slide by page.'),
+      '#default_value' => 1,
+    );
+    $form['dots'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Dots'),
+      '#description' => $this->t('Show dots navigation.'),
+      '#default_value' => TRUE,
+    );
+    $form['dots_each'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Dots Each'),
+      '#description' => $this->t('Show dots each x item.'),
+      '#default_value' => 0,
+    );
+    $form['dot_data'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Dot Data'),
+      '#description' => $this->t('Used by data-dot content.'),
+      '#default_value' => FALSE,
+    );
+    $form['lazy_load'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Lazy Load'),
+      '#description' => $this->t('Lazy load images. data-src and data-src-retina for highres. Also load images into background inline style if element is not <img>.'),
+      '#default_value' => FALSE,
+    );
+    $form['lazy_content'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Lazy Content'),
+      '#description' => $this->t('lazyContent was introduced during beta tests but i removed it from the final release due to bad implementation. It is a nice options so i will work on it in the nearest feature.'),
+      '#default_value' => FALSE,
+    );
+    $form['autoplay'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Autoplay'),
+      '#description' => $this->t('Autoplay carousel.'),
+      '#default_value' => FALSE,
+    );
+    $form['autoplay_timeout'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Autoplay Timeout'),
+      '#description' => $this->t('Autoplay interval timeout.'),
+      '#default_value' => 5000,
+    );
+    $form['autoplay_hover_pause'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Autoplay Hover Pause'),
+      '#description' => $this->t('Pause on mouse hover.'),
+      '#default_value' => FALSE,
+    );
+    $form['smart_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Smart Speed'),
+      '#description' => $this->t('Speed Calculate. More info to come.'),
+      '#default_value' => 250,
+    );
+    $form['fluid_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Fluid Speed'),
+      '#description' => $this->t('Speed Calculate. More info to come.'),
+      '#default_value' => 250,
+    );
+    $form['autoplay_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Autoplay Speed'),
+      '#description' => $this->t('Autoplay speed.'),
+      '#default_value' => 0,
+    );
+    $form['nav_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Navigation Speed'),
+      '#description' => $this->t('Navigation speed.'),
+      '#default_value' => 0,
+    );
+    $form['dots_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Dots Speed'),
+      '#description' => $this->t('Pagination speed.'),
+      '#default_value' => 0,
+    );
+    $form['drag_end_speed'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Drag End Speed'),
+      '#description' => $this->t('Drag end speed.'),
+      '#default_value' => FALSE,
+    );
+    $form['callbacks'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Callbacks'),
+      '#description' => $this->t('Enable callback events.'),
+      '#default_value' => FALSE,
+    );
+    // @todo, responsive option.
+//    for ($i = 0; $i < variable_get('responsive', 3); $i++) {
+//      $form['responsive_' . $i . '_[itemwidth_part]'] = array(
+//        '#type' => 'multiple',
+//        '#title' => $this->t('Responsive @number', array('@number' => $i), $options),
+//        '#description' => $this->t('Responsive width & item options can be used for setting media queries breakpoints.'),
+//        'repeat' => array(
+//          '#type' => 'width_items',
+//          'default' => array(
+//            'width' => t(480),
+//            'items' => t(2),
+//          ),
+//        ),
+//        '#default_value' => array(
+//          'width' => t(480),
+//          'items' => t(2),
+//        ),
+//      );
+//    }
+    $form['responsive_refresh_rate'] = array(
+      '#type' => 'number',
+      '#title' => $this->t('Responsive Refresh Rate'),
+      '#description' => $this->t('Responsive refresh rate.'),
+      '#default_value' => 200,
+    );
+    $form['responsive_base_element'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Responsive Base Element'),
+      '#description' => $this->t('Set on any DOM element. If you care about non responsive browser (like ie8) then use it on main wrapper. This will prevent from crazy resizing.'),
+      '#default_value' => 'window',
+    );
+    $form['responsive_class'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Responsive Class'),
+      '#description' => t("Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element. Can be used to stylize content on given breakpoint."),
+      '#default_value' => FALSE,
+    );
+    $form['video'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Video'),
+      '#description' => $this->t('Enable fetching YouTube/Vimeo videos.'),
+      '#default_value' => FALSE,
+    );
+    $form['video_height'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Video Height'),
+      '#description' => $this->t('Set height for videos.'),
+      '#default_value' => FALSE,
+    );
+    $form['video_width'] = array(
+      '#type' => 'checkbox',
+      '#title' => $this->t('Video Width'),
+      '#description' => $this->t('Set width for videos.'),
+      '#default_value' => FALSE,
+    );
+    $form['animate_out'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Animate Out'),
+      '#description' => $this->t('CSS3 animation out.'),
+      '#default_value' => FALSE,
+    );
+    $form['animate_in'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Animate In'),
+      '#description' => $this->t('CSS3 animation in.'),
+      '#default_value' => FALSE,
+    );
+    $form['fallback_easing'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Fallback Easing'),
+      '#description' => $this->t('Easing for CSS2 $.animate.'),
+      '#default_value' => 'swing',
+    );
+    $form['info'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Info'),
+      '#description' => $this->t('Callback to retrieve basic information (current item/pages/widths). Info function second parameter is Owl DOM object reference.'),
+      '#default_value' => FALSE,
+    );
+    $form['nested_item_selector'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Nested Item Selector'),
+      '#description' => t("Use it if owl items are deep nasted inside some generated content. E.g 'youritem'. Dont use dot before class name."),
+      '#default_value' => FALSE,
+    );
+    $form['item_element'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Item Element'),
+      '#description' => $this->t('DOM element type for owl-item.'),
+      '#default_value' => 'div',
+    );
+    $form['stage_element'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Stage Element'),
+      '#description' => $this->t('DOM element type for owl-stage.'),
+      '#default_value' => 'div',
+    );
+    $form['nav_container'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Navigation Container'),
+      '#description' => $this->t('Set your own container for nav.'),
+      '#default_value' => FALSE,
+    );
+    $form['dots_container'] = array(
+      '#type' => 'textfield',
+      '#title' => $this->t('Pagination Container'),
+      '#description' => $this->t('Set your own container for pagination.'),
+      '#default_value' => FALSE,
+    );
+
     return parent::form($form, $form_state);
   }
 
   /**
    * {@inheritdoc}
    */
-  public function save(array $form, array &$form_state) {
+  public function save(array $form, FormStateInterface $form_state) {
     $this->entity->save();
     $form_state['redirect_route'] = $this->entity->urlInfo('edit-form');
   }
