Worked on core functions.
Updated documentation