added link to script
basic module functions
added modal start handler and moved some declarations around
indentation fix
added styles