Changed parts to modules.

Fixed tabs/spaces.