Ported storage from mysql to custom file-based storage.
Added some validation and improved theme.