Added basic library generation support and basic function with parameters.