massive file organisation, and code structure