Added factories and module setup. Also updated composer