In this commit, I have made all changes and debugging thus making the
app run properly.