added orientation apis
added initial config