Initial commit
Added stopCycle function
Added comments and unexported some functions