moved preview-sync to a separated file
save synchronization for preview mode
removed debug logs
added LICENSE