implement interfaces in module.php #260

Prepend the interfaces corresponding to each method module.php
Add a new line at the end of file