Index: config.template.php
===================================================================
--- config.template.php	(revision f4830e018ea7027f56c99df9367e7873056a7528)
+++ config.template.php	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -1,8 +1,10 @@
 <?php
-$db_server = '127.0.0.1';
-$db_port = '3306';
+$db_meta_server = '127.0.0.1';
+$db_meta_port = '3306';
 $db_meta_db = 'pass_dist_metadata';
 $db_meta_user = '';
 $db_meta_pass = '';
+$db_pass_server = '127.0.0.1';
+$db_pass_port = '3306';
 $db_pass_db = 'pass_dist_passwords';
 $db_pass_user = '';
Index: include.php
===================================================================
--- include.php	(revision f4830e018ea7027f56c99df9367e7873056a7528)
+++ include.php	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -16,10 +16,10 @@
 try {
 	$meta_dbh = new PDO(
-		'mysql:host=' . $db_server . ';port=' . $db_port . ';dbname=' . $db_meta_db,
+		'mysql:host=' . $db_meta_server . ';port=' . $db_meta_port . ';dbname=' . $db_meta_db,
 		$db_meta_user,
 		$db_meta_pass);
 		
 	$pass_dbh = new PDO(
-		'mysql:host=' . $db_server . ';port=' . $db_port . ';dbname=' . $db_pass_db,
+		'mysql:host=' . $db_pass_server . ';port=' . $db_pass_port . ';dbname=' . $db_pass_db,
 		$db_pass_user,
 		$db_pass_pass);
Index: page_footer.html
===================================================================
--- page_footer.html	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
+++ page_footer.html	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -0,0 +1,2 @@
+	</body>
+</html>
Index: page_header.html
===================================================================
--- page_header.html	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
+++ page_header.html	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -0,0 +1,4 @@
+<html>
+	<head>
+	</head>
+	<body>
Index: pass_dist_metadata.sql
===================================================================
--- pass_dist_metadata.sql	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
+++ pass_dist_metadata.sql	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -0,0 +1,51 @@
+-- phpMyAdmin SQL Dump
+
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
+SET time_zone = "+00:00";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+
+--
+-- Database: `pass_dist_metadata`
+--
+CREATE DATABASE IF NOT EXISTS `pass_dist_metadata` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+USE `pass_dist_metadata`;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `metadata`
+--
+
+CREATE TABLE IF NOT EXISTS `metadata` (
+	  `id` varchar(6) NOT NULL,
+	  `reference` varchar(10) NOT NULL,
+	  `password_id` int(11) NOT NULL,
+	  `date_created` datetime NOT NULL,
+	  `date_deleted` datetime DEFAULT NULL,
+	  `delete_reason` int(11) DEFAULT NULL,
+	  `username` varchar(100) NOT NULL,
+	  `salt` binary(16) NOT NULL,
+	  `iv` binary(32) NOT NULL,
+	  `code_check` binary(32) NOT NULL,
+	  `bad_attempts` int(11) NOT NULL
+	) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+	--
+-- Indexes for dumped tables
+--
+
+--
+-- Indexes for table `metadata`
+--
+ALTER TABLE `metadata`
+ ADD PRIMARY KEY (`id`);
+
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+
Index: pass_dist_password.sql
===================================================================
--- pass_dist_password.sql	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
+++ pass_dist_password.sql	(revision c1b15785eb10d765b61cf05c55a781c4de4b8a6b)
@@ -0,0 +1,51 @@
+-- phpMyAdmin SQL Dump
+
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
+SET time_zone = "+00:00";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+
+--
+-- Database: `pass_dist_passwords`
+--
+CREATE DATABASE IF NOT EXISTS `pass_dist_passwords` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+USE `pass_dist_passwords`;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `passwords`
+--
+
+CREATE TABLE IF NOT EXISTS `passwords` (
+	`id` int(11) NOT NULL,
+	  `password` longblob NOT NULL
+	) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ;
+
+	--
+-- Indexes for dumped tables
+--
+
+--
+-- Indexes for table `passwords`
+--
+ALTER TABLE `passwords`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- AUTO_INCREMENT for dumped tables
+--
+
+--
+-- AUTO_INCREMENT for table `passwords`
+--
+ALTER TABLE `passwords`
+MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+
