moved Log, App-Lock and Layout to new common package