fix nested app problem and make real initial commit