fixed save problem with checkboxes
media files are now stored in filesystem instead of database