Refactored and initial persistence
Refactored tests references
Added constants for persistence
Added bin folder to ignore list