Added snake and math classes