Renamed form module to mail module
Changed database name
Only parse token if you have access
Renamed media module to file module