changing FileTypes to use IDs as primary key - probably buggy/just broken
add script to create DB for testing/dev