Added possibility to have modules inside /app/modules
Moved Facebook functions inside class