Restructured package to separate libraries and binary