Code divided into modules for better management.