add resources and storage paths to config
add composer files to .gitignore
prevent double booting
init works,
needs refactoring