Added type column to ram table, removed un-used files in migrations