Reorganized sources. Setting up module interface.