Create initializeSHP function

Begin consolidating redundant functions