Add SPro lib and extract features code