Add library code

Change-Id: I646a2409a76a109c5f7de32298f725c25a1228d1