format and comment main and remove build directory