improve custom build task
extract styleaccessor and style module for custom build