reattach controller methods after reload
Merge pull request #5 from ghquant/reattach

reattach controller methods after reload