added controller module, deleted extern crates from non-main files