moved phases definition to another file
removed read-modify-write operation from phases switching function
added definitions for reverse direction
moved bldc code from main to its own module
added desired duty cycle
added managing motor states
added starting motor times and times generator
added script for resetting device