Core Functions

Created a separate file for the core functions (map, dist, parseColor
etc)