Refactoring, moved all pinterest API stuff into project