added some css, made code cleaner, more functions next