added styles to setup UI and a few small features
merged with NewApi