LPS-46882 Update build files following *-shared pattern

It would be good adding javadocs, to make it easier understand this module in upcoming reviews