Added cycles and sequences. Now use async library for better thread handling.