Various

Added edit and create previews
Bugfixes
Refactored views