Clean useless app add autoload and mail template