Resources and Units are now declared in lib file