Converted core library to PCL