refactored cstart module