Remove messy test code and create the shell task

*System Init seem contains some errors