Add missing files and tests, add proper build components