Adding create slug method, scafolding steps and code cleanup
Code cleanup and refactoring