Moved script into separate file.
Moved styles into separate file.