Clean code and create new directory for resources.

Important changes in the project…