Refactored function files
css file for dark form theme added
fixed various translation strings, fixed incorrect template functions path