Creating necessary files and finishing up type and scaffold