Fixed error for linking theme, if already existed.
Added exports file.
Added functions file.