Representation theory of Code VOA and construction of VOAs