Settings in our own framework, instead of core

Change-Id: I3370d519a648248cb388dbceeef33c6038d1fa88