Split off modules and classes into separate files