implement interfaces in module.php #260

Prepend the interfaces corresponding to each method module.php
add new blank line after "}" as EOL