Restructurize project and add sources.