Seperate executable and library