diff --git a/.gitignore b/.gitignore
index 93230aae..45b414c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,5 @@ build/
### VS Code ###
.vscode/
example/src/test/java/org/sterl/spring/persistent_tasks/example/FooTest.java
+db/outputChangeLogFile.xml
+db/foo.sql
diff --git a/spring-persistent-tasks/pom.xml b/core/pom.xml
similarity index 100%
rename from spring-persistent-tasks/pom.xml
rename to core/pom.xml
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java b/core/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java
diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java
rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java
diff --git a/spring-persistent-tasks/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json
similarity index 100%
rename from spring-persistent-tasks/src/main/resources/META-INF/additional-spring-configuration-metadata.json
rename to core/src/main/resources/META-INF/additional-spring-configuration-metadata.json
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java
rename to core/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/SampleApp.java b/core/src/test/java/org/sterl/spring/sample_app/SampleApp.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/SampleApp.java
rename to core/src/test/java/org/sterl/spring/sample_app/SampleApp.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java b/core/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java
rename to core/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java b/core/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java
rename to core/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java b/core/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java
rename to core/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java
diff --git a/spring-persistent-tasks/src/test/java/org/sterl/test/AsyncAsserts.java b/core/src/test/java/org/sterl/test/AsyncAsserts.java
similarity index 100%
rename from spring-persistent-tasks/src/test/java/org/sterl/test/AsyncAsserts.java
rename to core/src/test/java/org/sterl/test/AsyncAsserts.java
diff --git a/spring-persistent-tasks/src/test/resources/application-mssql.yml b/core/src/test/resources/application-mssql.yml
similarity index 100%
rename from spring-persistent-tasks/src/test/resources/application-mssql.yml
rename to core/src/test/resources/application-mssql.yml
diff --git a/spring-persistent-tasks/src/test/resources/application.yml b/core/src/test/resources/application.yml
similarity index 100%
rename from spring-persistent-tasks/src/test/resources/application.yml
rename to core/src/test/resources/application.yml
diff --git a/spring-persistent-tasks/src/test/resources/db/changelog/db.changelog-master.xml b/core/src/test/resources/db/changelog/db.changelog-master.xml
similarity index 100%
rename from spring-persistent-tasks/src/test/resources/db/changelog/db.changelog-master.xml
rename to core/src/test/resources/db/changelog/db.changelog-master.xml
diff --git a/spring-persistent-tasks-db/pom.xml b/db/pom.xml
similarity index 100%
rename from spring-persistent-tasks-db/pom.xml
rename to db/pom.xml
diff --git a/spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml b/db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml
similarity index 100%
rename from spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml
rename to db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml
diff --git a/spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml b/db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml
similarity index 100%
rename from spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml
rename to db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml
diff --git a/spring-persistent-tasks-db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java b/db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java
similarity index 100%
rename from spring-persistent-tasks-db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java
rename to db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java
diff --git a/pom.xml b/pom.xml
index 6871a910..eac24c1c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,9 +62,9 @@
example
- spring-persistent-tasks-db
- spring-persistent-tasks-ui
- spring-persistent-tasks
+ db
+ ui
+ core
diff --git a/spring-persistent-tasks-db/foo.sql b/spring-persistent-tasks-db/foo.sql
deleted file mode 100644
index 25ce689e..00000000
--- a/spring-persistent-tasks-db/foo.sql
+++ /dev/null
@@ -1,5 +0,0 @@
-use master;
-drop SEQUENCE if EXISTS dbo.seq_PT_triggers_history_entries;
-drop SEQUENCE if EXISTS dbo.vehicle_seq;
-drop SEQUENCE if EXISTS dbo.engine_seq;
-drop SEQUENCE if EXISTS dbo.seq_PT_task_triggers;
\ No newline at end of file
diff --git a/spring-persistent-tasks-db/outputChangeLogFile.xml b/spring-persistent-tasks-db/outputChangeLogFile.xml
deleted file mode 100644
index e7899573..00000000
--- a/spring-persistent-tasks-db/outputChangeLogFile.xml
+++ /dev/null
@@ -1,375 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- select name collate database_default as name,
- number,
- type collate database_default as type,
- low, high, status
-from sys.spt_values
-
-
\ No newline at end of file
diff --git a/spring-persistent-tasks-ui/.gitignore b/ui/.gitignore
similarity index 100%
rename from spring-persistent-tasks-ui/.gitignore
rename to ui/.gitignore
diff --git a/spring-persistent-tasks-ui/README.md b/ui/README.md
similarity index 100%
rename from spring-persistent-tasks-ui/README.md
rename to ui/README.md
diff --git a/spring-persistent-tasks-ui/eslint.config.js b/ui/eslint.config.js
similarity index 100%
rename from spring-persistent-tasks-ui/eslint.config.js
rename to ui/eslint.config.js
diff --git a/spring-persistent-tasks-ui/index.html b/ui/index.html
similarity index 100%
rename from spring-persistent-tasks-ui/index.html
rename to ui/index.html
diff --git a/spring-persistent-tasks-ui/package-lock.json b/ui/package-lock.json
similarity index 100%
rename from spring-persistent-tasks-ui/package-lock.json
rename to ui/package-lock.json
diff --git a/spring-persistent-tasks-ui/package.json b/ui/package.json
similarity index 100%
rename from spring-persistent-tasks-ui/package.json
rename to ui/package.json
diff --git a/spring-persistent-tasks-ui/pom.xml b/ui/pom.xml
similarity index 100%
rename from spring-persistent-tasks-ui/pom.xml
rename to ui/pom.xml
diff --git a/spring-persistent-tasks-ui/src/App.tsx b/ui/src/App.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/App.tsx
rename to ui/src/App.tsx
diff --git a/spring-persistent-tasks-ui/src/history/history.page.tsx b/ui/src/history/history.page.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/history/history.page.tsx
rename to ui/src/history/history.page.tsx
diff --git a/spring-persistent-tasks-ui/src/index.css b/ui/src/index.css
similarity index 100%
rename from spring-persistent-tasks-ui/src/index.css
rename to ui/src/index.css
diff --git a/spring-persistent-tasks-ui/src/main.tsx b/ui/src/main.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/main.tsx
rename to ui/src/main.tsx
diff --git a/spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java b/ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java
similarity index 100%
rename from spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java
rename to ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java
diff --git a/spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java b/ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java
similarity index 100%
rename from spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java
rename to ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java
diff --git a/spring-persistent-tasks-ui/src/scheduler/scheduler.page.tsx b/ui/src/scheduler/scheduler.page.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/scheduler/scheduler.page.tsx
rename to ui/src/scheduler/scheduler.page.tsx
diff --git a/spring-persistent-tasks-ui/src/scheduler/views/scheduler.view.tsx b/ui/src/scheduler/views/scheduler.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/scheduler/views/scheduler.view.tsx
rename to ui/src/scheduler/views/scheduler.view.tsx
diff --git a/spring-persistent-tasks-ui/src/server-api.d.ts b/ui/src/server-api.d.ts
similarity index 100%
rename from spring-persistent-tasks-ui/src/server-api.d.ts
rename to ui/src/server-api.d.ts
diff --git a/spring-persistent-tasks-ui/src/shared/http-error.view.tsx b/ui/src/shared/http-error.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/shared/http-error.view.tsx
rename to ui/src/shared/http-error.view.tsx
diff --git a/spring-persistent-tasks-ui/src/shared/http-request.ts b/ui/src/shared/http-request.ts
similarity index 100%
rename from spring-persistent-tasks-ui/src/shared/http-request.ts
rename to ui/src/shared/http-request.ts
diff --git a/spring-persistent-tasks-ui/src/shared/labled-text.tsx b/ui/src/shared/labled-text.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/shared/labled-text.tsx
rename to ui/src/shared/labled-text.tsx
diff --git a/spring-persistent-tasks-ui/src/shared/page.view.tsx b/ui/src/shared/page.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/shared/page.view.tsx
rename to ui/src/shared/page.view.tsx
diff --git a/spring-persistent-tasks-ui/src/shared/reload-button.tsx b/ui/src/shared/reload-button.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/shared/reload-button.tsx
rename to ui/src/shared/reload-button.tsx
diff --git a/spring-persistent-tasks-ui/src/task/view/task-select.view.tsx b/ui/src/task/view/task-select.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/task/view/task-select.view.tsx
rename to ui/src/task/view/task-select.view.tsx
diff --git a/spring-persistent-tasks-ui/src/trigger/triggers.page.tsx b/ui/src/trigger/triggers.page.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/trigger/triggers.page.tsx
rename to ui/src/trigger/triggers.page.tsx
diff --git a/spring-persistent-tasks-ui/src/trigger/views/trigger-list-item.view.tsx b/ui/src/trigger/views/trigger-list-item.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/trigger/views/trigger-list-item.view.tsx
rename to ui/src/trigger/views/trigger-list-item.view.tsx
diff --git a/spring-persistent-tasks-ui/src/trigger/views/trigger-staus.view.tsx b/ui/src/trigger/views/trigger-staus.view.tsx
similarity index 100%
rename from spring-persistent-tasks-ui/src/trigger/views/trigger-staus.view.tsx
rename to ui/src/trigger/views/trigger-staus.view.tsx
diff --git a/spring-persistent-tasks-ui/src/vite-env.d.ts b/ui/src/vite-env.d.ts
similarity index 100%
rename from spring-persistent-tasks-ui/src/vite-env.d.ts
rename to ui/src/vite-env.d.ts
diff --git a/spring-persistent-tasks-ui/tsconfig.app.json b/ui/tsconfig.app.json
similarity index 100%
rename from spring-persistent-tasks-ui/tsconfig.app.json
rename to ui/tsconfig.app.json
diff --git a/spring-persistent-tasks-ui/tsconfig.json b/ui/tsconfig.json
similarity index 100%
rename from spring-persistent-tasks-ui/tsconfig.json
rename to ui/tsconfig.json
diff --git a/spring-persistent-tasks-ui/tsconfig.node.json b/ui/tsconfig.node.json
similarity index 100%
rename from spring-persistent-tasks-ui/tsconfig.node.json
rename to ui/tsconfig.node.json
diff --git a/spring-persistent-tasks-ui/vite.config.ts b/ui/vite.config.ts
similarity index 100%
rename from spring-persistent-tasks-ui/vite.config.ts
rename to ui/vite.config.ts