refactor

Move types to files